﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="JT_SystemReturn.aspx.cs" Inherits="JTicket.UI.JT_SystemReturn" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <script src="My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed">
        <tr>
            <td class="category t2" style="width: 716px; height: 25px;">
                系统退票
            </td>
            <td class="category" style="height: 25px">
            </td>
        </tr>
    </table>
    <asp:Panel ID="Panel2" runat="server" Width="100%">
        <table width="100%" border="0" bordercolordark="#3890B5" bordercolorlight="#6591BE"
            align="center" cellpadding="1" cellspacing="1">
            <tr>
                <td align="center" bgcolor="#3890B5" style="height: 12px">
                    <span class="B"></span>
                </td>
                <td align="center" bgcolor="#3890B5" style="height: 12px; width: 150px;">
                    <span class="B"></span>
                </td>
            </tr>
            <tr>
                <td align="left" bgcolor="#f6f6f6" colspan="2">
                    <table align="center" border="0" bordercolordark="#3890b5" bordercolorlight="#6591be"
                        cellpadding="1" cellspacing="1" width="100%">
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left">
                                剧院：<asp:DropDownList ID="DropDownList2" runat="server" Width="300px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left">
                                演出时间起：<asp:TextBox ID="txtBeginTime" runat="server" AutoPostBack="True" 
                                    onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" 
                                    OnTextChanged="txtBeginTime_TextChanged"></asp:TextBox>
                                至<asp:TextBox ID="txtEndTime" runat="server" AutoPostBack="True" 
                                    onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" 
                                    OnTextChanged="txtEndTime_TextChanged"></asp:TextBox>
                                演 出 列 表：<asp:DropDownList ID="DropDownList1" runat="server" Width="300px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left">
                                条形码：<asp:TextBox ID="t5" runat="server" CssClass="input"></asp:TextBox>
                                <asp:Button ID="Button2" runat="server" CssClass="submitMiniGreen" OnClick="Button2_Click"
                                    onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="座位查询" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left">
                                流水号：<asp:TextBox ID="t6" runat="server" CssClass="input"></asp:TextBox>
                                <asp:Button ID="Button4" runat="server" onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)"
                                    class="submitMiniGreen" OnClick="Button4_Click" Text="座位查询" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left;">
                                分区：<asp:TextBox ID="t2" runat="server" CssClass="input"></asp:TextBox>
                                排号：<asp:TextBox ID="t3" runat="server" CssClass="input"></asp:TextBox>
                                座位号：<asp:TextBox ID="t4" runat="server" CssClass="input"></asp:TextBox>
                                <asp:Button CssClass="submitMiniGreen" ID="Button1" runat="server" Text="座位查询" OnClick="Button1_Click"
                                    onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" />
                                &nbsp;<asp:Button ID="Button3" runat="server" CssClass="submitMiniGreen" OnClick="Button3_Click"
                                    onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="退 票" OnClientClick="return confirm('你确定执行退票操作,执行后不可回滚！');" />
                            </td>
                        </tr>
                    </table>
                    <table align="center" border="0" bordercolordark="#3890b5" bordercolorlight="#6591be"
                        cellpadding="1" cellspacing="1" width="100%">
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6">
                                <asp:DataGrid ID="dg1" runat="server" AutoGenerateColumns="False" CellPadding="0"
                                    OnItemDataBound="dg1_ItemDataBound" PageSize="20" Width="100%">
                                    <HeaderStyle BackColor="#3890B5" Height="25px" HorizontalAlign="Center" />
                                    <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                                    <Columns>
                                        <asp:BoundColumn DataField="BarCode" HeaderText="票号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="stitlecode" HeaderText="演出编号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Stitle" HeaderText="演出名称">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Titlesort" HeaderText="演出类别">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="area" HeaderText="区域">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="snote" HeaderText="子分区">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="row" HeaderText="排号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="cow" HeaderText="座位号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="sixid" HeaderText="座位编号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Ticketname" HeaderText="票类名称">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="price" HeaderText="单价">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="saleamt" HeaderText="销售价格">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:TemplateColumn HeaderText="折扣">
                                            <ItemTemplate>
                                                <%# DataBinder.Eval(Container.DataItem, "zhekou")%>
                                            </ItemTemplate>
                                            <HeaderStyle CssClass="B" />
                                        </asp:TemplateColumn>
                                        <asp:BoundColumn DataField="opercode" HeaderText="操作员">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:TemplateColumn HeaderText="操作日期">
                                            <ItemTemplate>
                                                <%# DataBinder.Eval(Container.DataItem, "saledate")%>
                                            </ItemTemplate>
                                            <HeaderStyle CssClass="B" />
                                        </asp:TemplateColumn>
                                        <asp:TemplateColumn HeaderText="操作时间">
                                            <ItemTemplate>
                                                <%# DataBinder.Eval(Container.DataItem, "saletime")%>
                                            </ItemTemplate>
                                            <HeaderStyle CssClass="B" />
                                        </asp:TemplateColumn>
                                    </Columns>
                                    <PagerStyle Visible="False" />
                                </asp:DataGrid>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6" class="style6">
                                《退票记录》
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#f6f6f6">
                                <asp:DataGrid ID="dg2" runat="server" AutoGenerateColumns="False" CellPadding="0"
                                    OnItemDataBound="dg1_ItemDataBound" PageSize="20" Width="100%">
                                    <HeaderStyle BackColor="#3890B5" Height="25px" HorizontalAlign="Center" />
                                    <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                                    <Columns>
                                        <asp:BoundColumn DataField="barcode" HeaderText="票号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="stitlecode" HeaderText="演出编号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="stitle" HeaderText="演出名称">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="Titlesort" HeaderText="演出类别">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="area" HeaderText="区域">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="snote" HeaderText="子分区">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="row" HeaderText="排号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="cow" HeaderText="座位号">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="ticketname" HeaderText="票类名称">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="price" HeaderText="单价">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="saleamt" HeaderText="销售价格">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:TemplateColumn HeaderText="折扣">
                                            <ItemTemplate>
                                                <%# DataBinder.Eval(Container.DataItem, "zhekou")%>
                                            </ItemTemplate>
                                            <HeaderStyle CssClass="B" />
                                        </asp:TemplateColumn>
                                        <asp:BoundColumn DataField="opercode" HeaderText="操作员">
                                            <HeaderStyle CssClass="B" />
                                        </asp:BoundColumn>
                                        <asp:TemplateColumn HeaderText="退票日期">
                                            <ItemTemplate>
                                                <%# DataBinder.Eval(Container.DataItem, "retudate")%>
                                            </ItemTemplate>
                                            <HeaderStyle CssClass="B" />
                                        </asp:TemplateColumn>
                                        <asp:TemplateColumn HeaderText="退票时间">
                                            <ItemTemplate>
                                                <%# DataBinder.Eval(Container.DataItem, "retutime")%>
                                            </ItemTemplate>
                                            <HeaderStyle CssClass="B" />
                                        </asp:TemplateColumn>
                                    </Columns>
                                    <PagerStyle Visible="False" />
                                </asp:DataGrid>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
